
from calc_setting import * 





output_general_parafile=process_output_folder+scan_folder+"/para_from_MG_{}.tsv"
para_name=Get_Maplist_Key(MG_para["replace_value"])

Create_Folder_from_FileDir(output_general_parafile,"/")

Collect_MG_Cross(MG_para["split_event_folder"]      ,MG_para["combined_scan_file"], MG_para["param_out_file"],output_general_parafile, theoretical_para_file_name,MG_para["scan_file_general_name"],para_name, param_mode, has_event=False, has_delphes=True)


#Collect_MG_Cross(MG_para["split_event_folder_nocut"],MG_para["combined_scan_file_nocut"], MG_para["param_out_file"],output_general_parafile, theoretical_para_file_name,MG_para["scan_file_general_name"],para_name,param_mode, has_event=False, has_delphes=False)
